<ion-view view-title="我的仓库" id="warehouse-list" hide-nav-bar="true">
  <ion-header-bar align-title="center" class="bar-calm">
    <div class="buttons">
      <button class="button head-button button-clear center-btn" ng-click="goBack()">
        <img src="img/order-commit/backIcon.png">
      </button>
    </div>
    <h1 class="title">我的仓库</h1>
    <div class="buttons">
      <button class="button head-button button-clear center-btn" ng-click="batOnLine()">
        上架
      </button>
    </div>
  </ion-header-bar>
  <ion-content>
    <ion-refresher
            pulling-text="下拉刷新..."
            on-refresh="doRefresh()">
    </ion-refresher>
    <img ng-if="nocontent" class="no-content" ng-src="img/no-content.png">
    <swipe-list items="goodsList" item-click="pick" item-remove="remove" item-share="share" need-on-line="true"></swipe-list>
    <div class="bottom-blank"></div>
    <ion-infinite-scroll
            ng-if="canLoadMore()"
            distance="1%"
            immediate-check=false
            on-infinite="loadMore()">
    </ion-infinite-scroll>
  </ion-content>
    <div class="button-container">
      <button class="button button-clear add-button" ng-if="false">添加商品</button>
    </div>
</ion-view>
